package br.com.sistemavendas.dao;

import org.hibernate.Session;

import br.com.sistemavendas.entidade.Cliente;

public class ClienteDaoHibernate implements ClienteDao {

	private Session session;
	
	@Override
	public void salvar(Cliente c) {
		this.session.save(c);
		System.out.println("salvou");
		
	}

	public Session getSession() {
		return session;
	}

	public void setSession(Session session) {
		this.session = session;
	}

	

}
